/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.cricketgame.runs.api.Impl;

import za.ac.cput.cricketgame.runs.api.RunScore;

/**
 *
 * @author Matthew
 */
public class RunScoreImpl implements RunScore {
    public int runs;
    
    @Override
    public int addRuns(int a) {
        return runs += a;
    }

    @Override
    public int getRuns() {
        return runs;
    }
}
